package main

import (
	beego "github.com/beego/beego/v2/server/web"
	"weekFirst/models"
	_ "weekFirst/routers"
)

func main() {

	//beego.InsertFilter("/auth/*", beego.BeforeRouter, middleware.TokenAuth())

	models.InitMySQL()
	models.InitRedis()

	beego.Run()
}
